:root {
  --color-background: #00000000;

  --color-text: #ffffff;
  --color-background-start: #4fb0ff;
  --color-background-end: #006ebc;
  --color-tab-background: #ffffff15;
}

.sun {
  /* --color-text: #121e3f;
  --color-background-start: rgb(248, 216, 182);
  --color-background-end: rgb(197, 124, 68);
  --color-tab-background: #5d5afd28; */
}

.cloud {
  /* --color-text: #092346;
  --color-background-start: #e2edfd;
  --color-background-end: #a3b5c9;
  --color-tab-background: #368dff28; */
}

.rain {
  /* --color-text: #ffffff;
--color-background-start: #33ade6;
--color-background-end: #036bb6;
--color-tab-background: #aab96a28; */
}

.snow {
  /* --color-text: #303133;
  --color-background-start: #edfaf9;
  --color-background-end: #a4c6dd;
  --color-tab-background: #afcef728; */
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: normal;
  user-select: none;
  position: relative;
}

ul {
  list-style: none;
}

body {
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
  overflow: hidden;
  /* overflow: hidden;border-radius: 8px; */
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    'Fira Sans',
    'Droid Sans',
    'Helvetica Neue',
    sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 雨滴 */
.raindrop {
  position: absolute;
  width: 4px;
  height: 7px;
  background: url('@renderer/assets/rain.svg') no-repeat;
  background-size: cover;
  border-radius: 100% 100% 50% 50%;
  box-shadow: 0 1px 3px #00000013, 0 -1px 3px #ffffff1b;
  transform-origin: bottom;
  animation: fall 10s ease-in-out infinite;
  transform: rotateY(45deg);
  top: 0;
  z-index: 0;
}

/* 雨滴动画 */
@keyframes fall {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  30% {
    opacity: .9;
  }

  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* 雪花 */
.snowflake {
  position: absolute;
  width: 10px;
  height: 10px;
  background-image: url('@renderer/assets/snow.svg');
  background-repeat: no-repeat;
  transform-origin: center center;
  opacity: .8;
  top: 0;
  left: 0px;
  animation: snowdropping 5s ease-in-out infinite;
  z-index: 0;
}

/* 雪花动画 */
@keyframes snowdropping {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  20% {
    opacity: .9;
  }

  100% {
    transform: translateY(100vh) rotate(calc(360deg * 1));
    opacity: 0;
  }
}

/* 云朵 */
.cloud-circle {
  position: absolute;
  left: -90px;
  top: -360px;
  border-radius: 50%;
  filter: url(#filter);
  box-shadow: 400px 400px 15px 0px #fff;
  animation: cloud-move 150s linear infinite;
  z-index: 0;
}

/* 云朵动画 */
@keyframes cloud-move {
  0% {
    left: -90px;
  }

  100% {
    left: calc(-100vw - 260px);
  }
}